<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<%
	String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title></title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!-- 图文混排 -->
		<!-- 设置下拉列表框样式 -->
		<style type="text/css">
.select * {
	margin: 0;
	padding: 0;
}

.select {
	border: 1px solid #cccccc;
	float: left;
	display: inline;
}

.select div {
	border: 1px solid #f9f9f9;
	float: left;
}

/* 子选择器，在FF等非IE浏览器中识别 */
.select>div {
	width: 120px;
	height: 17px;
	overflow: hidden;
}

/* 通配选择符，只在IE浏览器中识别 */
* html .select div select {
	display: block;
	float: left;
	margin: -2px;
}

.select div>select {
	display: block;
	width: 124px;
	float: none;
	margin: -2px;
	padding: 0px;
}

.select:hover {
	border: 1px solid #666666;
}

.select select>option {
	text-indent: 2px;
}
</style>
		<link rel="stylesheet" type="text/css" href="../css/style.css">
		<link href="../css/addChance.css" rel="stylesheet" type="text/css">
		<!-- 设置按钮样式 -->
		<link href="../css/Admin.css" rel="stylesheet" type="text/css">
		<!-- 设置文本框样式 -->
		<SCRIPT type="text/javascript" src="../js/map.js"></SCRIPT>
		<script type="text/javascript">
		function exit() {   
			var map=new Map();
			var a=document.getElementsByName("testItem");
			for(var i=0;i<a.length;i++){
				if(a[i].checked){
					map.put(a[i].value,a[i].title);
					}
			}
			window.returnValue = map;   
			window.close();   
			} 
</script>
<link href="images/blue/css.css" rel="stylesheet" type="text/css" id="showdialogcss" />
	</head>

	<body>
		<s:form method="post" id="addBusType"
			action="doUpdateNewsTypeAction.action" theme="simple">
			


			<table align="center" width="900px" border="1" cellpadding="0"
				cellspacing="0" bgcolor="#C0CCDD" id="content">
				
				<tr>
					<td >
						&nbsp;检测项目：<br/>
						<s:iterator value="testItems" >
						<input type="checkbox" name="testItem" id="testItem<s:property value="pid"/>" value="<s:property value="pid"/>" title="<s:property value="monitorProject"/>"/>
						<label for="testItem<s:property value="pid"/>"><s:property value="monitorProject"/></label>
						</s:iterator>
					</td>
				</tr>
				<tr>
				<td align="center">
				<input type="button" name="确认" value="确认" onclick="exit()"/>
				</td>
				</tr>
			</table>
			
		</s:form>
	</body>
</html>
